***************************************************************************
***************************************************************************
* Title: THE HILLARY HYPOTHESES - TESTING CANDIDATE VIEWS OF LOSS 
* Authors: Michael Lewis-Beck and Stephen Quinlan
*
* README FILE
* Last updated: Friday 19 October 2018
***************************************************************************
***************************************************************************

***************************************************************************
* NAVIGATION OF SYNTAX FILE
* /// = SECTION HEADER 
* >>> = ANALYSIS HEADER
* <<< = SUB ANALYSIS HEADER
**************************************************************************** 


***************************************************************************
***************************************************************************
*/// PURPOSE OF FILE
***************************************************************************
***************************************************************************

This file details information regarding the deposits of "The Hillary 
Hypotheses: Testing Candidate View of Loss" paper by Lewis-Beck and Quinlan. 


***************************************************************************
***************************************************************************
*/// DATASET INFORMATION
***************************************************************************
***************************************************************************

The primary dataset used was the 2016 American National Election Study 
(ANES) Time Series vile. The version used was published on December 19, 2017.

Supplementary to the above data, we also used the ANES Time Series Cumulative
Data File (1948-2016) and the 1992 ANES Time Series and 2008 ANES Time Series
datasets respectively for a small portion of the analyses. 


***************************************************************************
***************************************************************************
*/// DESCRIPTION OF DEPOSITED DATA FILES
***************************************************************************
***************************************************************************

We enclose two data files: 
    1) 2016 ANES Time Series Study with Variable Transformations applied 
       (SPSS file with .sps extension)
    2) 2016 ANES Time Series Study with Variable Transformations applied 
       (STATA file with .dta extension)


*<<< 2016 ANES Time Series Study with Variable Transformations applied - 
     SPSS version
This SPSS data file allows for replication of the Principal Component Analysis
and should be used in conjunction with the Principal Component Index Syntax
File (described below). 


*<<< 2016 ANES Time Series Study with Variable Transformations applied - 
     STATA version
This STATA data file allows for replication of all analysis detailed in 
the paper and should be used in conjunction with the Data Analysis Syntax 
File (described below). 


***************************************************************************
***************************************************************************
*/// DESCRIPTION OF DEPOSITED SYNTAX FILES
***************************************************************************
***************************************************************************

We enclose four syntax files: 
    1) Variable Transformation Syntax File (SPSS file with .sps extension)
    2) Principal Component Index Syntax File (SPSS file with .sps extension)
    3) Data Analysis Syntax File (STATA file with .do extension)
    4) Variable Transformation and Data Analysis Syntax File for ANES 
       Times Series Cumulative Data File 1948 and 2016 and ANES 1992 and 2008
       Times Series Studies (SPSS file with .sps extension)


*<<< VARIABLE TRANSFORMATION SYNTAX FILE
The variable transformation file includes comprehensive details about the
recoding/creation of variables based on the 2016 ANES Time Series study 
made for the project. It is an SPSS file and is ready to run on a clean
version of the ANES 2016 Time Series Study. 


*<<< PRINCIPAL COMPONENT INDEX SYNTAX FILE
This file offers replication code for the principal component indexes 
created. It is an SPSS file and should be run on a dataset after the
implementation of the variable transformations. 


*<<< DATA ANALYSIS SYNTAX FILE 
This file offers replication code for frequencies, crosstables, and regression
models included in the Hillary Hypotheses Paper and its accompanying appendix. 
It is a STATA file and should be run on the STATA version of the dataset 
after implementation of variable transformations. 


*<<< VARIABLE TRANSFORMATION AND DATA ANAYLSIS SYNTAX FILE FOR ANES 
    TIMES SERIES CUMULATIVE DATA FILE 1948 AND 2016 AND ANES 1992 AND 2008
       TIMES SERIES STUDIES
This file offers replication code for frequencies and crosstables for Figure 1
in the paper. It is an SPSS file and should be run on the SPSS versions of 
the appropriate datasets. The file contains variable transformations for
the specific datasets mentioned. 


***************************************************************************
***************************************************************************
*/// DESCRIPTION OF EXCEL DATA FILE DEPOSITED
***************************************************************************
***************************************************************************

We also deposit a Microsoft Excel (.xls extension) for replication purposes
of the linear probability model discussed in Section 10 of the paper 
and detailed in Table 2. The file is named "Linear Probability Model
Estimates_Table2.xls".


// END OF FILE